package com.yonyou.pmclouds.siteinspection.entity;

import com.yonyou.pmclouds.basecom.entity.SuperVO;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.util.Date;
@Table(name="pm_siteinspection")
@Setter
@Getter
public class SiteInspectionListViewVO extends SuperVO{

    private static final long serialVersionUID = 2122300588258274262L;
    /**
     * 项目
     */
    public static String PK_PROJECT = "pk_project";
    /**
     * 工序
     */
    public static String PK_PROCESS = "pk_process";
    /**
     * 施工单位
     */
    public static String PK_CONSTRUCTIONUNIT = "pk_constructionunit";
    /**
     * 检查标准
     */
    public static String PK_INSPECTSTANDARD = "pk_inspectstandard";
   /**
    * 制单人姓名
    */
    public static String CREATOR_NAME = "creator_name";
    /**
     * 制单人
     */
    public static String CREATOR = "creator";
    /**
     * 需要包装属性的参照字段
     */
    public static String[] REF_FILEDS ={PK_PROJECT,PK_PROCESS,PK_CONSTRUCTIONUNIT,PK_INSPECTSTANDARD};
    
    
    /**
     * 现场检查单据字段
     */
    @Id
    private String pk_siteinspection;
    // 检查部位
    private String inspectarea;
    // 检查标准
    private String pk_inspectstandard;

    @Transient
    private String[] pictures;

    /** 前台页面显示字段**/
    @Transient
    private String inspectstandard_name;
    // 制单人
    @Transient
    private String creator_name;
    /** 通用字段**/
    @Column(name="creator",updatable=false)
    private String creator;
    @Column(name="creationtime",updatable=false)
    private Date creationtime;

}
